package cn.net.gemai.springboot_mybatis.entity;


import java.sql.Date;

public class Person {
    private Integer pid;
    private String pName;
    private String pAddr;
    private Integer gender;
    private Date birth;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getpAddr() {
        return pAddr;
    }

    public void setpAddr(String pAddr) {
        this.pAddr = pAddr;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Person{");
        sb.append("pid=").append(pid);
        sb.append(", pName='").append(pName).append('\'');
        sb.append(", pAddr='").append(pAddr).append('\'');
        sb.append(", gender=").append(gender);
        sb.append(", birth=").append(birth);
        sb.append('}');
        return sb.toString();
    }
}

